using System.Data;
using System;
using ManticLabs.Data;
using System.Configuration;

namespace ManticLabs.Data
{
    [Flags]
    public enum ResultType
    {
        Default = CommandBehavior.Default,
        SingleRow = CommandBehavior.SingleRow,
        SingleResult = CommandBehavior.SingleResult
    };

    [Flags]
    public enum ColumnType
    {
        String = 1,
        Int,
        Double,
        DateTime
    };

    [Flags]
    public enum DBMSID
    {
        Access,
        MsSQL2000,
        MsSQL2005,
        MsSQL2008,
        MsSQL2012,
        MySQL,
        Oracle,
        Text
    };
}	

namespace ManticLabs.Common
{
    [Flags]
    public enum ApplicationID
    {
        MiniCA,
        eSMIS,
        ERP
    };

    [Flags]
	public enum LogLevelType
	{
		DEBUG = 0,
		INFO,
		SQLINTEGRITYERROR,
		SQLERROR,
		ERROR,
		NONE
	};

    [Flags]
    public enum FormModes
    {
        New = 0,
        Edit = 1,
        OpenNonEdit
    };

    [Flags]
    public enum AppModes
    {
        Default,
        Runtime,
        Debug
    }

}

